package com.example.common.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.common.enums.TimesType;
import jakarta.persistence.Column;
import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import jakarta.persistence.Id;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@TableName("experiment")
public class Experiment  {
    @Id
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    @Column(columnDefinition = "TEXT")
    private String experimentalContent;

    private String experimentalFilePath;  //url路径

    private TimesType status;
    private Timestamp startTime;      //开始
    private Timestamp  endTime;    //结束
}
